﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace HPCERP.WebSite.Areas.Project
{
    public class Routes: AreaRegistration
    {
        public override string AreaName
        {
            get { return "Project"; }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "Project_Default",                                   // Route name
                "Project/{controller}/{action}/{id}",                // URL with parameters
                new { controller = "Home", action = "Index", id = "", area = "Project" },  // Parameter defaults
                null,
                new string[] {"Project"}
              );
        }
    }
}